import {NativeModules,NativeEventEmitter, Platform} from 'react-native'
let  Helper = NativeModules.CompressHelper;
let eventEmitter = new NativeEventEmitter(Helper);

class CompressHelper{

    static compress(params,callback)
    {
        Helper.compress(params).then(res=>{
            callback&&callback(res)
        })
    }
}
export default  CompressHelper
